package com.example.springboot_10_freemaker.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @auther cangshufeilun
 * @date 2022/4/6 19:30
 */
@Data
@TableName("users")
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(value = "userName")
    private String userName;
    @TableField(value = "passWord")
    private String passWord;
    @TableField(value = "user_sex")
    private String userSex;
    @TableField(value = "nick_name")
    private String nickName;
}
